package com.hippo.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description: TODO 通用地址实体类
 * @version 1.0.0
 * @auther tangxl
 * @Date 2023/4/25/025 22:06
 */
@TableName("sys_address")
@Data
@Schema(description = "通用地址实体类")
public class SysAddress implements Serializable {
  private static final long serialVersionUID = 1L;
  @TableId(value = "id",type = IdType.AUTO)
  @Schema(description = "主键id")
  private Integer id;
  @TableField("province_code")
  @Schema(description = "省份编码",example = "330000")
  private Integer provinceCode;
  @TableField("province")
  @Schema(description = "省份",example = "浙江省")
  private String province;
  @TableField("city_code")
  @Schema(description = "城市编码",example = "330100")
  private String cityCode;
  @TableField("city")
  @Schema(description = "城市名称",example = "杭州市")
  private String city;
  @TableField("area_code")
  @Schema(description = "区县编码",example = "330106")
  private String areaCode;
  @TableField("area")
  @Schema(description = "区县",example = "西湖区")
  private String area;
  @TableField("street")
  @Schema(description = "街道",example = "文一西路")
  private String street;
  @TableField("building")
  @Schema(description = "楼栋",example = "4栋")
  private String building;
  @TableField("room")
  @Schema(description = "房间",example = "401")
  private String room;
  @TableField("room_type")
  @Schema(description = "房间类型",example = "公寓")
  private String roomType;
  @TableField("property_name")
  @Schema(description = "物业名称",example = "恒大物业")
  private String propertyName;
  @TableField("property_type")
  @Schema(description = "物业类型",example = "xx")
  private String propertyType;
  @TableField("postal_code")
  @Schema(description = "邮政编码",example = "310000")
  private String postalCode;
  @TableField("country")
  @Schema(description = "国家",example = "中国")
  private String country;
  @TableField(value = "status",fill = FieldFill.INSERT)
  @Schema(description = "状态",example = "1")
  private Integer status;

}
